package com.example.create.controller;

import org.springframework.web.bind.annotation.*;

@RestController
public class CreateController {
    @RequestMapping("/stock/deduct/{productId}/{stockCount}")
    public String deductStock(@PathVariable("productId") Long productId,@PathVariable("stockCount") Long stockCount){
        return "success";
    }
}
